<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    img {
      display: block;
    }
  </style>
</head>
<body>
  <!-- 块级元素：独占一行，设置宽高生效 -->
  <div>123</div>
  <div>123</div>

  <!-- 行内元素：不会独占一行，设置宽高无效 默认间距 -->
  <span>123</span>
  <span>123</span>

  <!-- 行内块：独占一行 默认间距-->
  <img src="//image.suning.cn/uimg/sop/commodity/458231515172278605489700_x.jpg?from=mobile&amp;format=80q.webp" alt="">
  <img src="//image.suning.cn/uimg/sop/commodity/458231515172278605489700_x.jpg?from=mobile&amp;format=80q.webp" alt="">
</body>
</html>